package com.service.serviceImpl;

import com.mapper.AdminMapper;
import com.service.IAdminService;
import com.vo.adminVo.AdminLoginResponseVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author hl
 * @Date 2021年10月15日 22点38分
 * @Describe 管理员相关功能
 */
@Service
public class AdminServiceImpl implements IAdminService {

    @Resource
    AdminMapper adminMapper;

    @Override
    public List<AdminLoginResponseVo> adminLogin() {
        List<AdminLoginResponseVo> adminLoginResponseVoList = adminMapper.getAdminLoginInfo();
        return adminLoginResponseVoList;
    }
}
